﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MVCTest00001.Models;
namespace MVCTest00001.Models
{
    public class MusicStoreDbInitializer:System.Data.Entity.DropCreateDatabaseAlways<MusicStoreDB>
    {
        protected override void Seed(MusicStoreDB context)
        {
            context.Artists.Add(new MVCTest002.Models.Artist { Name="杰哥"});

            context.Genres.Add(new MVCTest002.Models.Genre { Name = "张杰", Description = "不一样的自己" });
            base.Seed(context);
        }
    }
}